package com.hall.service;

import com.hall.dao.HallMapper;
import com.hall.pojo.Appointment;
import com.hall.pojo.Dbdict;
import com.hall.pojo.SysUser;
import com.hall.pojo.common.Result;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//@Service
public class HallServiceImpl implements HallService {

    //    @Autowired
    private HallMapper hallMapper;

    public void setHallMapper(HallMapper hallMapper) {
        this.hallMapper = hallMapper;
    }


    @Override
    public List<Appointment> queryAllDoctor() {
        return hallMapper.queryAllDoctor();
    }

    @Override
    public List<Appointment> queryDoctor(String appointment) {
        return hallMapper.queryDoctor(appointment);
    }

    @Override
    public List<Dbdict> querySurface() {
        return hallMapper.querySurface();
    }
    //根据会议id，查询参会人员
    @Override
    public List<SysUser> findAppointUserList(String appointmentId) {
        return hallMapper.findAppointUserList(appointmentId);
    }

    @Override
    public List<String> participateUser(String id) {
        return hallMapper.participateUser(id);
    }

    @Override
    public List<Appointment> queryAllList(Appointment appointment) {
        return hallMapper.queryAllList(appointment);
    }

    @Override
    public List<Appointment> queryAllList2(Appointment appointment) {
        return hallMapper.queryAllList2(appointment);
    }

    @Override
    public List<Appointment> allNowMeeting() {
        return hallMapper.allNowMeeting();
    }

    @Override
    public List<Appointment> allAfterMeeting() {
        return hallMapper.allAfterMeeting();
    }


}
